/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根变量定义 */
:root {
    --primary-color: #00ffff;
    --secondary-color: #0080ff;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --light-text: #ffffff;
    --glow-color: rgba(0, 255, 255, 0.8);
    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(0, 255, 255, 0.3);
}

/* 全局样式 */
body {
    font-family: "Siyuan", sans-serif;
    background: var(--gradient-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 粒子效果容器 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--dark-bg);
}

/* 科技感导航栏 */
.tech-nav {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.tech-nav:hover {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 0 20px var(--glow-color);
}

.tech-logo {
    filter: drop-shadow(0 0 10px var(--glow-color));
    transition: all 0.3s ease;
}

.tech-logo:hover {
    filter: drop-shadow(0 0 15px var(--glow-color)) scale(1.05);
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color);
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-link:hover::after {
    width: 100%;
}

.language-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 10px var(--glow-color);
}

.hamburger-menu {
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px 0;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px var(--glow-color);
    animation: titleGlow 3s ease-in-out infinite alternate;
    line-height: 1.1;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 50px var(--glow-color);
    }
    100% {
        text-shadow: 0 0 80px var(--glow-color), 0 0 150px var(--glow-color);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--glow-color);
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 500;
}

/* 科技感按钮 */
.tech-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px var(--glow-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.tech-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px var(--glow-color), 0 0 100px var(--glow-color);
    animation: btnPulse 1.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 60px var(--glow-color), 0 0 120px var(--glow-color);
    }
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.tech-btn:hover .btn-icon {
    transform: translateX(8px);
}

/* 手机展示 */
.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-phone {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 0 60px var(--glow-color));
    animation: phoneFloat 4s ease-in-out infinite;
    z-index: 10;
    transform: scale(1.1);
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1.1);
    }
    50% {
        transform: translateY(-30px) rotate(3deg) scale(1.15);
    }
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* 特性区域 */
.features-section {
    padding: 100px 20px;
    background: var(--darker-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow-color);
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--glow-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 20px var(--glow-color);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 视频区域 */
.video-section {
    padding: 80px 0;
    background: var(--dark-bg);
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.tech-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.05);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(5px);
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.video-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--glow-color);
}

.video-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* 产品展示 */
.product-showcase {
    padding: 100px 20px;
    background: var(--darker-bg);
}

.showcase-item {
    margin-bottom: 50px;
    text-align: center;
}

.showcase-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.showcase-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.4);
}

/* 交互演示 */
.interactive-demo {
    position: relative;
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto;
    padding-top: 50%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.demo-bg, .demo-phone, .demo-lighting {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-phone {
    z-index: 10;
    transition: all 0.3s ease;
}

.interactive-demo:hover .demo-phone {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.demo-lighting {
    z-index: 20;
    animation: lightingPulse 3s ease-in-out infinite;
    filter: brightness(2);
}

@keyframes lightingPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* CTA区域 */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-bg);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(10, 10, 15, 0.8);
}

.cta-btn {
    background: var(--dark-bg);
    color: var(--primary-color);
    border: 2px solid var(--dark-bg);
}

.cta-btn:hover {
    background: transparent;
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(10, 10, 15, 0.5);
}

/* 科技感页脚 */
.tech-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 50px 20px 30px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    flex: 1;
    min-width: 60%;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 20px;
    position: relative;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding-left: 20px;
    position: relative;
}

.footer-column li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.footer-column li:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-column a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-logo img {
    filter: drop-shadow(0 0 10px var(--glow-color));
    max-width: 150px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.copyright-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px var(--glow-color);
}

/* 滚动动画 */
.tech-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.tech-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--glow-color);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--glow-color);
    animation: btnPulse 1.5s ease-in-out infinite;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .video-wrapper {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-wrapper {
        height: 40vh;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .tech-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-logo img {
        max-width: 120px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}